﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using CPPProject.CppModel;
using System;
using System.ComponentModel.DataAnnotations;

namespace CPPProject.CppServices.Dto
{
    [AutoMapFrom(typeof(LocationTest))]
    public class LocationTestDto : EntityDto<Guid>
    {
        [MaxLength(100)]
        public string LocationType { get; set; }
        [MaxLength(100)]
        public string ContactType { get; set; }
        [MaxLength(100)]
        public string Code { get; set; }
        [MaxLength(100)]
        public string Name { get; set; }
        [MaxLength(100)]
        public string ChangeName { get; set; }
        [MaxLength(500)]
        public string Address { get; set; }
        [MaxLength(100)]
        public string WxPerson { get; set; }
        [MaxLength(100)]
        public string Customer { get; set; }
        [MaxLength(100)]
        public string LinkPerson { get; set; }
        [MaxLength(100)]
        public string Phone { get; set; }
        [MaxLength(100)]
        public string Remark { get; set; }
        /// <summary>
        /// 公司ID
        /// </summary>
        [MaxLength(100)]
        public string NCompanyID { get; set; }
    }
}
